package com.hhd.form.component;

import com.hhd.form.entity.DesignFormFieldDefinition;
import com.hhd.form.entity.DesignFormTableFieldMeta;
import com.hhd.form.entity.DesignFormTableMeta;
import com.hhd.form.table.field.TableFieldDefinition;
import com.hhd.form.vo.FormDefinition;

import java.util.List;

public interface FieldComponent {
    String getName();

    List<TableFieldDefinition> createField(DesignFormFieldDefinition field, DesignFormTableFieldMeta fieldMeta, FormDefinition fomDefinition, DesignFormTableMeta tableMeta);
}
